package com.player.thirdGroup.service;

import com.player.thirdGroup.dao.LogDao;
import com.player.thirdGroup.dao.MessageDao;
import com.player.thirdGroup.entity.Log;
import com.player.thirdGroup.entity.Message;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.PageRequest;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author VULCAN
 * @create 2019-12-28 7:48
 * @desc 日志
 **/
@Service
public class MessageService {
    @Autowired
    private MessageDao messageDao;


    public List<Message> findAll(){
        return messageDao.findAll();
    }
}
